package com.lz.ht.dao;

import com.lz.ht.model.Member;
import com.lz.ht.model.Room;

import java.util.HashMap;
import java.util.List;

public interface MemberDao {
    int deleteByPrimaryKey(Integer mid);

    int insert(Member record);

    int insertSelective(Member record);

    Member selectByPrimaryKey(Integer mid);

    int updateByPrimaryKeySelective(Member record);

    int updateByPrimaryKey(Member record);

    List<Member> findListByMapLimit(HashMap<String,Object> hashMap);

    long findCountByMap(HashMap<String,Object> hashMap);

    void add(Member member);
}